关于hosts文件~不能修改`而且有ETC里面两个HOSTS

来源:百度知道 编辑:UC知道 时间:2024/06/01 01:49:46
里面有个叫hosts
还有个lmhosts.sam

lmhosts.sam 里面有: (我怀疑这个才是真的)
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample LMHOSTS file used by the Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to computernames
# (NetBIOS) names. Each entry should be kept on an individual line.
# The IP address should be placed in the first column followed by the
# corresponding computername. The address and the computername
(文字限制~~不能再复制了``5555555555)

hosts里面有: (这个可能是被改了)
202.109.114.142 99e.cc
202.109.114.142 www.91ivr.com
202.109.114.142 mg.ukaka.com
203.191.146.205 365.com
203.191.146.205 999cha.com
203.191.146.205 www.999cha.com(不止这些 文字限制 我不再写了反正下面都是这样的格式 都是垃圾网)

hosts这个文件 不能修改 也不能删 粉碎

一. Hosts文件的位置
很多用户都知道在Window系统中有个Hosts文件(没有后缀名),在Windows 98系统下该文件在Windows文件夹。
在Windows 2000/XP系统中位于\%Systemroot%\System32\Drivers\Etc 文件夹中,其中,%Systemroot%指系统安装路径。例如,Windows XP 安装在C:\WINDOWS,那么Hosts文件就在C:\Widows\System32\Drvers\Etc中。
你也可以用windows自带的查找功能搜索找到hosts文件。
该文件其实是一个纯文本的文件,用普通的文本编辑软件如记事本等都能打开和编辑。

二. Hosts文件的基本内容和语法
用记事本打开hosts文件,就可以看见了微软对这个文件的说明。Hosts文件文一般有如下面的基本内容

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on indivi